package com.example.sulingorder.feign;

import com.xiao.sulingpublic.to.MemberAddressTo;
import com.xiao.sulingpublic.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author: 1322127758@qq.com
 * @date: 2022/3/24 19:58
 * @作用:
 */
@FeignClient("suling-user")
public interface UserFeign {
    /**
     * 保存
     */
    @RequestMapping("/sulinguser/memberaddress/saveAddress")
    //@RequiresPermissions("sulinguser:memberaddress:save")
    R saveAddress(@RequestBody MemberAddressTo memberAddress);
}
